#!/usr/bin/python3

from tkinter import *
from tkinter import ttk
from tkinter import messagebox
from tkinter import filedialog
from tkinter import colorchooser

class App():
    def __init__(self):
        self.root = Tk()
        self.addFrame()

    def addFrame(self):
        self.frame = Frame(self.root)

    def run(self):
        title = 'MessageBox'
        message = 'MessageBox Block Text'
        messagebox.askokcancel(title, message)
        messagebox.askquestion(title, message)
        messagebox.askretrycancel(title, message)
        messagebox.askyesno(title, message)
        messagebox.showerror(title, message)
        messagebox.showinfo(title, message)
        messagebox.showwarning(title, message)

if __name__ == "__main__":
    app = App()
    app.run()
